<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>失物招领 - 后台管理</title>
    <!-- bootstrap - css -->
    <link href="{{asset('static/vendor/BJUI/themes/css/bootstrap.css')}}" rel="stylesheet">
    <!-- core - css -->
    <link href="{{asset('static/vendor/BJUI/themes/css/style.css')}}" rel="stylesheet">
    <link href="{{asset('static/vendor/BJUI/themes/blue/core.css')}}" rel="stylesheet">
    <!-- plug - css -->
    <link href="{{asset('static/vendor/BJUI/plugins/kindeditor_4.1.10/themes/default/default.css')}}" rel="stylesheet">
    <link href="{{asset('static/vendor/BJUI/plugins/colorpicker/css/bootstrap-colorpicker.min.css')}}" rel="stylesheet">
    <link href="{{asset('static/vendor/BJUI/plugins/niceValidator/jquery.validator.css')}}" rel="stylesheet">
    <link href="{{asset('static/vendor/BJUI/plugins/bootstrapSelect/bootstrap-select.css')}}" rel="stylesheet">
    <link href="{{asset('static/vendor/BJUI/themes/css/FA/css/font-awesome.min.css')}}" rel="stylesheet">
    <!--[if lte IE 7]>
    <link href="{{asset('static/vendor/BJUI/themes/css/ie7.css')}}" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="{{asset('static/vendor/BJUI/other/html5shiv.min.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/other/respond.min.js')}}"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="{{asset('static/vendor/BJUI/js/jquery-1.7.2.min.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/js/jquery.cookie.js')}}"></script>
    <!--[if lte IE 9]>
    <script src="{{asset('static/vendor/BJUI/other/jquery.iframe-transport.js')}}"></script>
    <![endif]-->
    <!-- BJUI.all 分模块压缩版 -->
    <script src="{{asset('static/vendor/BJUI/js/bjui-all.js')}}"></script>
    <!-- plugins -->
    <!-- swfupload for uploadify && kindeditor -->
    <script src="{{asset('static/vendor/BJUI/plugins/swfupload/swfupload.js')}}"></script>
    <!-- kindeditor -->
    <script src="{{asset('static/vendor/BJUI/plugins/kindeditor_4.1.10/kindeditor-all.min.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/kindeditor_4.1.10/lang/zh_CN.js')}}"></script>
    <!-- colorpicker -->
    <script src="{{asset('static/vendor/BJUI/plugins/colorpicker/js/bootstrap-colorpicker.min.js')}}"></script>
    <!-- ztree -->
    <script src="{{asset('static/vendor/BJUI/plugins/ztree/jquery.ztree.all-3.5.js')}}"></script>
    <!-- nice validate -->
    <script src="{{asset('static/vendor/BJUI/plugins/niceValidator/jquery.validator.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/niceValidator/jquery.validator.themes.js')}}"></script>
    <!-- bootstrap plugins -->
    <script src="{{asset('static/vendor/BJUI/plugins/bootstrap.min.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/bootstrapSelect/bootstrap-select.min.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/bootstrapSelect/defaults-zh_CN.min.js')}}"></script>
    <!-- icheck -->
    <script src="{{asset('static/vendor/BJUI/plugins/icheck/icheck.min.js')}}"></script>
    <!-- dragsort -->
    <script src="{{asset('static/vendor/BJUI/plugins/dragsort/jquery.dragsort-0.5.1.min.js')}}"></script>
    <!-- HighCharts -->
    <script src="{{asset('static/vendor/BJUI/plugins/highcharts/highcharts.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/highcharts/highcharts-3d.js')}}"></script>
    <script src="{{asset('static/vendor/BJUI/plugins/highcharts/themes/gray.js')}}"></script>
    <!-- ECharts -->
    <script src="{{asset('static/vendor/BJUI/plugins/echarts/echarts.js')}}"></script>
    <!-- other plugins -->
    <script src="{{asset('static/vendor/BJUI/plugins/other/jquery.autosize.js')}}"></script>
    <link href="{{asset('static/vendor/BJUI/plugins/uploadify/css/uploadify.css')}}" rel="stylesheet">
    <script src="{{asset('static/vendor/BJUI/plugins/uploadify/scripts/jquery.uploadify.min.js')}}"></script>
    <!-- init -->
    <script type="text/javascript">
        $(function () {
            BJUI.init({
                JSPATH: '{{asset('static/vendor/BJUI/')}}',         //[可选]框架路径
                PLUGINPATH: '{{asset('static/vendor/BJUI/plugins/')}}', //[可选]插件路径
                loginInfo: {url: 'account/login', title: '登录', width: 400, height: 200}, // 会话超时后弹出登录对话框
                statusCode: {ok: 200, error: 300, timeout: 301}, //[可选]
                ajaxTimeout: 50000, //[可选]全局Ajax请求超时时间(毫秒)
                pageInfo: {
                    pageCurrent: 'page',
                    pageSize: 'pageSize',
                    orderField: 'orderField',
                    orderDirection: 'orderDirection'
                }, //[可选]分页参数
                alertMsg: {displayPosition: 'topcenter', displayMode: 'slide', alertTimeout: 3000}, //[可选]信息提示的显示位置，显隐方式，及[info/correct]方式时自动关闭延时(毫秒)
                keys: {statusCode: 'statusCode', message: 'message'}, //[可选]
                ui: {
                    showSlidebar: true, //[可选]左侧导航栏锁定/隐藏
                    clientPaging: true, //[可选]是否在客户端响应分页及排序参数
                    overwriteHomeTab: false //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                },
                debug: true,    // [可选]调试模式 [true|false，默认false]
                theme: 'blue' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
            })
            //时钟
            var today = new Date(), time = today.getTime()
            $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
            setInterval(function () {
                today = new Date(today.setSeconds(today.getSeconds() + 1))
                $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
            }, 1000)
        })

        //菜单-事件
        function MainMenuClick(event, treeId, treeNode) {
            event.preventDefault()

            if (treeNode.isParent) {
                var zTree = $.fn.zTree.getZTreeObj(treeId)

                zTree.expandNode(treeNode)
                return
            }

            if (treeNode.target && treeNode.target == 'dialog')
                $(event.target).dialog({id: treeNode.tabid, url: treeNode.url, title: treeNode.name})
            else
                $(event.target).navtab({
                    id: treeNode.tabid,
                    url: treeNode.url,
                    title: treeNode.name,
                    fresh: treeNode.fresh,
                    external: treeNode.external
                })
        }
    </script>
</head>
<body>
<!--[if lte IE 7]>
<div id="errorie">
    <div>您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本 <a target="_blank"
                                                 href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>&nbsp;&nbsp;强烈建议您更改换浏览器：<a
            href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a></div>
</div>
<![endif]-->
<header id="bjui-header">
    <div class="bjui-navbar-header">
        <button type="button" class="bjui-navbar-toggle btn-default" data-toggle="collapse"
                data-target="#bjui-navbar-collapse">
            <i class="fa fa-bars"></i>
        </button>
        <a class="bjui-navbar-logo" href="#"><img src=""></a>
    </div>
    <nav id="bjui-navbar-collapse">
        <ul class="bjui-navbar-right">
            <li class="datetime">
                <div><span id="bjui-date"></span><br><i class="fa fa-clock-o"></i> <span id="bjui-clock"></span></div>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{Auth::user()->name}}<span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                    <li><a href="{{url('/')}}">主页</a></li>
                    <li class="divider"></li>
                    <li>
                        <a href="{{url('/account/logout')}}" class="red"><span class="glyphicon glyphicon-off"></span>注销登陆</a>
                    </li>
                </ul>
            </li>
        </ul>
    </nav>
</header>
<div id="bjui-container" class="clearfix">
    <div id="bjui-leftside">
        <div id="bjui-sidebar-s">
            <div class="collapse"></div>
        </div>
        <div id="bjui-sidebar">
            <div class="toggleCollapse">
                <h2><i class="fa fa-bars"></i> 导航栏 <i class="fa fa-bars"></i></h2>
                <a href="javascript:;" class="lock"><i class="fa fa-lock"></i></a>
            </div>
            <div class="panel-group panel-main" data-toggle="accordion" id="bjui-accordionmenu"
                 data-heightbox="#bjui-sidebar" data-offsety="26">
                <div class="panel panel-default">
                    <div class="panel-heading panelContent">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#bjui-accordionmenu" href="#bjui-collapse0"
                               class="active">
                                &nbsp;
                            </a>
                        </h4>
                    </div>
                    <div id="bjui-collapse0" class="panel-collapse panelContent collapse in">
                        <div class="panel-body">
                            <ul id="bjui-tree0" class="ztree ztree_main" data-toggle="ztree"
                                data-on-click="MainMenuClick" data-expand-all="true">
                                <li data-id="1" data-pid="0">失物招领</li>
                                <li data-id="10" data-pid="1" data-url="{{url('admin/item')}}" data-tabid="items">
                                    失物招领
                                </li>
                                <li data-id="11" data-pid="1" data-url="{{url('admin/match')}}" data-tabid="matchs" data-autorefresh="30">
                                    失物匹配
                                </li>
                                <li data-id="2" data-pid="0">用户管理</li>
                                <li data-id="20" data-pid="2" data-url="{{url('admin/user')}}" data-tabid="users">
                                    用户管理
                                </li>
                                <li data-id="21" data-pid="2" data-url="{{url('admin/role')}}" data-tabid="roles">
                                    角色管理
                                </li>

                                <li data-id="3" data-pid="0">设置</li>
                                <li data-id="31" data-pid="3" data-url="{{url('admin/catalog')}}"
                                    data-tabid="catalogs">
                                    分类管理
                                </li>
                                <li data-id="32" data-pid="3" data-url="{{url('admin/area')}}" data-tabid="areas">
                                    地区管理
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="panelFooter">
                        <div class="panelFooterContent"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="bjui-navtab" class="tabsPage">
        <div class="tabsPageHeader">
            <div class="tabsPageHeaderContent">
                <ul class="navtab-tab nav nav-tabs">
                    <li>
                        <a href="javascript:;">
                            <span><i class="fa fa-home"></i> #maintab#</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="tabsLeft"><i class="fa fa-angle-double-left"></i></div>
            <div class="tabsRight"><i class="fa fa-angle-double-right"></i></div>
            <div class="tabsMore"><i class="fa fa-angle-double-down"></i></div>
        </div>
        <ul class="tabsMoreList">
            <li><a href="javascript:;">#maintab#</a></li>
        </ul>
        <div class="navtab-panel tabsPageContent">
            <div class="navtabPage unitBox">
                <div class="bjui-pageHeader">
                    <h1>失物招领</h1>
                </div>
            </div>
        </div>
    </div>
</div>
<footer id="bjui-footer">
    Copyright &copy; 2015　<a href="#">鼎尧科技</a>
</footer>
</body>
</html>